<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<jsp:include page="inc.jsp"></jsp:include>
<script src="login.js?v=20140708" charset="utf-8"></script>
</head>
<body>
	<div class="container">
		<div class="col-md-offset-4 col-md-4">
			<div class="panel panel-info">
				<div class="panel-heading">预设用户</div>
				<table class="table table-condensed">
					<thead>
						<tr>
							<th>#</th>
							<th>登录名</th>
							<th>密码</th>
							<th>公司</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>1</td>
							<td>admin</td>
							<td>admin</td>
							<td>运营公司</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>
		<form class="form-horizontal" method="post" id="formLogin">
			<div class="form-group">
				<label for="inputLoginName" class="col-md-1 col-md-offset-4 control-label">登录名</label>
				<div class="col-md-3">
					<input type="text" class="form-control" id="inputLoginName" placeholder="登录名" name="tuser.name">
				</div>
			</div>
			<div class="form-group">
				<label for="inputPassword" class="col-md-1 col-md-offset-4 control-label">密码</label>
				<div class="col-md-3">
					<input type="password" class="form-control" id="inputPassword" placeholder="密码" name="tuser.pwd">
				</div>
			</div>
			<div class="form-group">
				<label for="selectCompany" class="col-md-1 col-md-offset-4 control-label">公司</label>
				<div class="col-md-3">
					<input id="selectCompany" name="tuser.tcompany.id" class="form-control" />
				</div>
			</div>
			<div class="form-group">
				<div class="col-md-offset-4 col-md-2">
					<button type="button" class="btn btn-info btn-block">注册</button>
				</div>
				<div class="col-md-2">
					<button type="submit" class="btn btn-success btn-block" id="btnLogin">登录</button>
				</div>
			</div>
		</form>
	</div>
</body>
</html>